package com.briup.category.domin;

import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class User {
    private Integer id;
    private String username;
    private String password;
    private String phone;
    private String avatar;
    private String gender;
    private Integer status; //⽤户状态(0正常，1禁⽤)
    private LocalDate birthday;
    private LocalDateTime registerTime; //注册时间
    
    public Integer getId() {
        return id;
    }
    
    public String getUsername() {
        return username;
    }
    
    public String getPhone() {
        return phone;
    }
    
    public String getPassword() {
        return password;
    }
    
    public String getAvatar() {
        return avatar;
    }
    
    public String getGender() {
        return gender;
    }
    
    public Integer getStatus() {
        return status;
    }
    
    public LocalDate getBirthday() {
        return birthday;
    }
    
    public LocalDateTime getRegisterTime() {
        return registerTime;
    }
}